from parade import Parade

p = Parade('randr')
galleries = p.get_galleries()
count = 0
for gallery in p.galleries:
	count += 1
	# first one is slower, because it's doing on-demand retrieval of photos
	# print dir(gallery)
	print gallery.xml_url
	print "%s (%s photos)" % (gallery.title,len(gallery.photos))
	# print "%s" % gallery.title